×
Notice
The forum is in read only mode.
-
Forum
-
VoIP Gateways Support
-
GSM Gateway
-
Error in sending sms using HTML to SMS API
×
Questions about VS-GW2120/GW1600/GW1202 and WGW1002G GSM Series VoIP Gateway
Error in sending sms using HTML to SMS API
Less
More
-
Posts: 171
-
Karma: 5
-
Thank you received: 10
-
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
7 years 8 months ago #11171
by Bootsector
Is the firmware compatible for my device?
This is the device info:
Device: GSM Gateway
Model: VS-GGU-E2M0400
Modem description: 850/900/1800/1900MHz@GSM
Software Version: 2.3.1
Hardware Version: Date 2012-11-09 FPGA 11 Hardware 00
Build Time: 2016-06-12 09:35:23
Thanks.
Less
More
-
Posts: 171
-
Karma: 5
-
Thank you received: 10
-
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
7 years 8 months ago - 7 years 8 months ago #11174
by Bootsector
Hi lindali,
The firmware fixed the error but api returns invalid JSON report.
Here is the return JSON report from the above mentioned URL.
{
"message":"Test with " double quote",
"report":[{
"1":[{
"port":"gsm-1.2",
"phonenumber":"XXXXXXXXXXX",
"time":"2016-08-29 12:08:19",
"result":"success"
}]
}]
}
The above JSON report cannot be decoded in php using json_decode() function because of the message value with " is not properly escaped.
Less
More
-
Posts: 171
-
Karma: 5
-
Thank you received: 10
-
-
7 years 8 months ago #11176
by lindali
Hi,
Sorry for it. It's a known problem. When you need use " double quote, please use ' single quote instead of it.
-
Forum
-
VoIP Gateways Support
-
GSM Gateway
-
Error in sending sms using HTML to SMS API
Time to create page: 0.051 seconds